package com.github.zuihou.authority.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 区域 查询DTO
 *
 * @author wangshb
 * @date 2020-01-03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value = "AreaQueryDTO", description = "区域查询")
public class AreaQueryDTO {

    @ApiModelProperty(value = "父区域", notes = "指定父区域code, 如果未指定，默认为0")
    private String parentCode;

    @ApiModelProperty(value = "区域名称", notes = "区域名称")
    private String name;

    @ApiModelProperty(value = "区域编码", notes = "区域编码")
    private String code;
}
